<?php
/**
* @package Scribble
*/
use Buan\Config;
use Buan\UrlCommand;
?>

<div class="head">
	<h1>Upgrade Scribble</h1>
</div>
<p class="warning">
	We've detected that a new version of Scribble has been uploaded which in turn may require the need for migrating data to ensure compatibility with this new version.<br/>
	<strong>If you are unaware of having made any changes then please contact your site administrator before proceeding.</strong>
</p>
<div class="hr"><hr/></div>
<p>
	Upgrading Scribble is very straightforward and your data is safe during the entire process. Should anything go wrong along the way you can revert to the existing state at any time.
</p>
<p>
	The following steps will be carried out over the next few pages:
</p>
<ol>
	<li>Test the compatibility of all registered plugins with the new version</li>
	<li>Create backups of the database, the contents of the data folder, and any uploaded files</li>
	<li>Apply any relevant core patches</li>
	<li>Apply any relevant plugin patches</li>
</ol>
<p>
	You may not browse to any other interfaces in the CMS during this process otherwise you will be logged out and have to restart the process from the beginning.
</p>
<p class="warning">
	Some of the steps above may take some time to complete. Please leave the browser window open and <strong>do not refresh the page at any point.</strong>
</p>
<form method="post" action="<?php $this->html->eUrl(UrlCommand::createUrl('scribble', 'upgrade', 'step-1')); ?>">
	<button class="submit" type="submit" name="process">Proceed to step #1</button>
</form>